package data.nanjing.expo.models.domain.exhibition;

import com.fasterxml.jackson.annotation.JsonFormat;
import data.nanjing.expo.common.DateTimeUtil;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * 展会信息表，主办方
 * @author ChanJi
 * @create 2018-04-15 11:35
 * exhibition_info
 **/
public class ExhibitionDetail {

    private Integer id;

    /**
     * 创建时间
     * gmt_create
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    /**
     * 上次更新时间
     * gmt_modified
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date  updateTime;

    /**
     * 用户id
     * user_id
     */
    private Integer userId;


    /**
     * 展会简介
     */
    private String expoResume;

    /**
     * 展会领域
     */
    private String expoScope;

    /**
     * 展会官网地址
     */
    private String officialUrl;
    /**
     * 省
     */
    private String province;
    /**
     * 市
     */
    private String city;

    /**
     * 区
     */
    private String area;
    /**
     * 街道门牌号信息
     */
    private String street;

    /**
     * 展会地点
     */
    private String location;




    /**
     * 展位总数
     */
    private Integer standTotle;

    /**
     * 权重
     */
    private Integer weight;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getExpoResume() {
        return expoResume;
    }

    public void setExpoResume(String expoResume) {
        this.expoResume = expoResume;
    }

    public String getExpoScope() {
        return expoScope;
    }

    public void setExpoScope(String expoScope) {
        this.expoScope = expoScope;
    }

    public String getOfficialUrl() {
        return officialUrl;
    }

    public void setOfficialUrl(String officialUrl) {
        this.officialUrl = officialUrl;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getStreet() {
        return street;
    }

    public void setStreet(String street) {
        this.street = street;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public Integer getStandTotle() {
        return standTotle;
    }

    public void setStandTotle(Integer standTotle) {
        this.standTotle = standTotle;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    @Override
    public String toString() {
        return "ExhibitionInfo{" +
                "id=" + id +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", userId=" + userId +
                ", expoResume='" + expoResume + '\'' +
                ", expoScope='" + expoScope + '\'' +
                ", officialUrl='" + officialUrl + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", area='" + area + '\'' +
                ", street='" + street + '\'' +
                ", location='" + location + '\'' +
                ", standTotle=" + standTotle +
                ", weight=" + weight +
                '}';
    }
}
